package com.zhuss.bean.vo.core.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zhuss.bean.unit.core.user.UserBean;
import com.zhuss.common.AbstractVo;
import com.zhuss.common.ListVo;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="登录vo",description="登录vo对象")
public class LoginVo extends AbstractVo {
	
	@ApiModelProperty(value="登录用户", name="user", example="{}")
	private UserBean user;
	
	@ApiModelProperty(value="登录返回的token", name="token", example="")
	private String token;
	
	@ApiModelProperty(value="角色列表", name="roleList", example="{}")
	private List<ListVo> roleList;

	public UserBean getUser() {
		return user;
	}

	public void setUser(UserBean user) {
		this.user = user;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	
	public List<ListVo> getRoleList() {
		return roleList;
	}
	
	public void setRoleList(List<ListVo> roleList) {
		this.roleList = roleList;
	}

}
